package com.liujit.upms.domain.result;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.result.BaseResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description 系统用户返回结果
 * @Author liujun
 * @Date 2021-07-02 15:01:25
 */
@Data
@ApiModel(value = "SysUserResult", description = "系统用户返回结果")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SysUserResult extends BaseResult {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "性别：0、未知。1、男。2、女。")
    private Short gender;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "机构id")
    private Long orgId;

    @ApiModelProperty(value = "机构编号")
    private String orgCode;

    @ApiModelProperty(value = "机构编号")
    private String orgName;

    @ApiModelProperty(value = "启用：1、是。0、否。")
    private Short enabled;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "角色id")
    private List<Long> roleIds;

    @ApiModelProperty(value = "角色名")
    private List<String> roleNames;
}